package sia.tp1.operator;

import java.util.List;

public class Constant extends Operator{

	int value;
	
	public Constant(int value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return "_" + value;
	}

	@Override
	public boolean eval(List<Boolean> input) {
		return input.get(value);
	}
}
